package com.ztgf.order.models.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
import java.io.Serializable;

/**
 * 订单合同关系表VO
 *
 * @author chenyu.wang
 * @Date 2020-06-03 15:58:52
 */
@Data
public class OrderContractRelationVO implements Serializable {
    @ApiModelProperty(value = "主键")
    @JSONField(serializeUsing = ToStringSerializer.class)
    private Long id;
    @ApiModelProperty(value = "状态 0创建、1买方签字、2卖方签字、3完成、4签订失败")
    private Integer status;
    @ApiModelProperty(value = "合同地址")
    private String fileUrl;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @ApiModelProperty(value = "订单编号")
    private String orderNo;
    @ApiModelProperty(value = "商品主图")
    private String logoUrl;
    @ApiModelProperty(value = "商品名称")
    private String name;
    @ApiModelProperty(value = "卖家名称")
    private String sellUserName;

}
